
checkLogin();

var success = function (res) {
    var info = res.data;
    var html = template('shop_list',info);
    $('#shop_list_content').append(html);

    //点击选择店铺
    $('.radio').on('tap',function () {
        var id= parseInt(this.getAttribute('data'));
        var success = function (res) {
            setTimeout(function () {
                logout();
            }, 2000);
        }
        postData(member_change_shop,combineParams({new_sid:id}),success);
    })
}
getData(member_shop_list,comParams(),success);